package de.staxx6.tests;

import com.jme3.app.Application;
import com.jme3.app.SimpleApplication;
import com.jme3.app.state.AbstractAppState;
import com.jme3.app.state.AppStateManager;
import com.jme3.system.AppSettings;

public class CharMove extends AbstractAppState {
	
	
	/*
	public static void main(String[] args) {
		
		AppSettings settings = new AppSettings(true);
		settings.setResolution(800, 600);
		settings.setSamples(4);
		settings.setVSync(true);
		settings.setFrequency(60);
		settings.setTitle("Bomber - CharMove - TEST");
		
		CharMove app = new CharMove();
		app.setSettings(settings);
		app.setShowSettings(false);
		app.start();
	}
	 */
	private SimpleApplication app;
	
	public void initialize(AppStateManager stateManager, Application app) {
		super.initialize(stateManager, app);
		this.app = (SimpleApplication)app;
	}
	
	public void update(float delta) {
		if(isEnabled()) {
			System.out.println("DOH");
		}
	}
}
